-
Notifications
You must be signed in to change notification settings - Fork 421
fix(parameters): Respect POWERTOOLS_PARAMETERS_SSM_DECRYPT environment variable when getting multiple ssm parameters. #3241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need. |
POWERTOOLS_PARAMETERS_SSM_DECRYPT
environment variable when getting multiple parameters.POWERTOOLS_PARAMETERS_SSM_DECRYPT
environment variable when getting multiple parameters.
POWERTOOLS_PARAMETERS_SSM_DECRYPT
environment variable when getting multiple parameters.POWERTOOLS_PARAMETERS_SSM_DECRYPT
environment variable when getting multiple parameters.
POWERTOOLS_PARAMETERS_SSM_DECRYPT
environment variable when getting multiple parameters.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #3241 +/- ##
========================================
Coverage 95.96% 95.97%
========================================
Files 195 195
Lines 8387 8388 +1
Branches 1563 1563
========================================
+ Hits 8049 8050 +1
Misses 276 276
Partials 62 62
☔ View full report in Codecov by Sentry. |
… getting multiple parameters. When getting multiple ssm parameters by path, the `POWERTOOLS_PARAMETERS_SSM_DECRYPT` environment variable should be respected as to whether to automatically decrypt the values, as is with the single `get`.
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @sean-hernon! I left a comment to change this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience! |
Thank you! |
When getting multiple ssm parameters by path, the
POWERTOOLS_PARAMETERS_SSM_DECRYPT
environment variable should be respected as to whether to automatically decrypt the values, as is with the singleget
.Issue number: 3240
Summary
Check the value of the
POWERTOOLS_PARAMETERS_SSM_DECRYPT
and respect that when decidingwhether to decrypt multiple parameters that were loaded.
Changes
User experience
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change?
RFC issue number:
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.